-
-
Notifications
You must be signed in to change notification settings - Fork 45
[19.0][MIG] edi_core_oca #215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
* auto btns on/off flag per exchange type * offer hook to customize how btns are rendered * improve UI
Raise specific error when exchange type is not found.
To be used to track references on exchanged related records.
Handy method to validate core actions of the edi framework.
Kewyord params were not propagated.
Propagate custom kw args to event handlers.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: edi-15.0/edi-15.0-edi_oca Translate-URL: https://translation.odoo-community.org/projects/edi-15-0/edi-15-0-edi_oca/
You can now track the original exchange record that originated the document in the 1st place.
Ease finding which type the current one is an ack for.
You can produce or receive more than one ack for a given exchange. If that's the case, make sure only the newest is considered.
In case exchange_on is the same, use ID to get the latest on top.
Skip 'output_sent' records by default. Reason: most of the times when a message is sent out you don't care about its state anymore. Any subsequent update from outside should come with a new input record instead. Yet, if for any reason this feature is required you can still enable it by passing 'skip_sent=False'.
simahawk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG overall.
So far the file could be edited in any state and w/o any trace of editing. This change brings: * the file is frozen if it has been already processed or sent * if you really need to change it you can force this by assigning the group ``group_edi_override_exchange_file_content`` to the user * updates to the file are now tracked via checksum changes
model.model few lines below will trigger an access error w/o this change.
0e6d581 to
8dced0b
Compare
|
@simahawk WDYT? |
|
@simahawk is it ok to you to proceed with merge? |
There were 3 ways to access the related record. Now there's only 2 but we still display the warning if the relation with the main record is broken.
8dced0b to
efe076e
Compare
luisDIXMIT
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
|
/ocabot migration edi_core_oca |
|
/ocabot merge nobump |
|
This PR looks fantastic, let's merge it! |
|
This PR has the |
|
Congratulations, your PR was merged at d22e572. Thanks a lot for contributing to OCA. ❤️ |
Done the history rewritting for not losing the commits from edi_oca and map them in edi_core_oca (Since the split, obviously).
I added JS tests 😉
I avoided the use of odoo_test_helper